function Loss   = v2_LossFunction(ParametersIn, RealMoments, MomentCovar)

SimMoments  = v2_Moments(ParametersIn);

Loss        = (RealMoments - SimMoments)' * inv(MomentCovar) * (RealMoments - SimMoments);

return
